<template>
    <div>
        <p @click="gologin">登录/注册</p>
    </div>
</template>

<script>
    export default {
        data(){
            return {
               
            }
        },
        methods:{
            gologin(){
                this.$router.push({
                    name:"login"
                })
            }
        }
    }
</script>

<style lang="scss" scoped>
div{
    margin-top: 10px;
    width: 94%;
    height: 310px;
    margin-left: 3%;
    background-color: #CDECFF;
    border-radius: 10px;
 
}
</style>